// 基于template/src/widgets/{{appEntities}}/{{ctrls@GRID}}-grid/{{spinalCase ctrl.codeName}}-grid-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class GridDataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        const wfKey = ['srftaskid','srftaskdefinitionkey','srfprocessdefinitionkey','srfprocessdefinitionid','srfprocessinstanceid'];
        //  表格自持属性
        this.$ownKeys = ['ibizorder', 'orderuid', 'ibizordername', 'ibizcustomername', 'ordertime', 'orderstate', 'updatedate', 'ibizorderid', 'srfkey', 'srfdataaccaction', 'ibizcustomerid', 'srfmajortext', 'wfstep', 'srfmstag', ...wfKey];
    }

    get orderuid() {
        return this.$DO.orderuid;
    }

    set orderuid(value: any) {
        this.$DO.orderuid = value;
    }
    get ibizordername() {
        return this.$DO.ibizordername;
    }

    set ibizordername(value: any) {
        this.$DO.ibizordername = value;
    }
    get ibizcustomername() {
        return this.$DO.ibizcustomername;
    }

    set ibizcustomername(value: any) {
        this.$DO.ibizcustomername = value;
    }
    get ordertime() {
        return this.$DO.ordertime;
    }

    set ordertime(value: any) {
        this.$DO.ordertime = value;
    }
    get orderstate() {
        return this.$DO.orderstate;
    }

    set orderstate(value: any) {
        this.$DO.orderstate = value;
    }
    get updatedate() {
        return this.$DO.updatedate;
    }

    set updatedate(value: any) {
        this.$DO.updatedate = value;
    }
    get ibizorderid() {
        return this.$DO.ibizorderid;
    }

    set ibizorderid(value: any) {
        this.$DO.ibizorderid = value;
    }
    get srfkey() {
        return this.$DO.ibizorderid;
    }

    set srfkey(value: any) {
        this.$DO.ibizorderid = value;
    }
    get srfdataaccaction() {
        return this.$DO.ibizorderid;
    }

    set srfdataaccaction(value: any) {
        this.$DO.ibizorderid = value;
    }
    get ibizcustomerid() {
        return this.$DO.ibizcustomerid;
    }

    set ibizcustomerid(value: any) {
        this.$DO.ibizcustomerid = value;
    }
    get srfmajortext() {
        return this.$DO.ibizordername;
    }

    set srfmajortext(value: any) {
        this.$DO.ibizordername = value;
    }
    get wfstep() {
        return this.$DO.wfstep;
    }

    set wfstep(value: any) {
        this.$DO.wfstep = value;
    }

    set ibizorder(value: any) {
        this.$DO.ibizorderid = value;
    }
    get ibizorder() {
        return this.$DO.ibizorderid;
    }

    get srftaskid(){
        return this.$DO.srftaskid;
    }

    get srftaskdefinitionkey(){
        return this.$DO.srftaskdefinitionkey;
    }

    get srfprocessdefinitionkey(){
        return this.$DO.srfprocessdefinitionkey;
    }

    get srfprocessdefinitionid(){
        return this.$DO.srfprocessdefinitionid;
    }

    get srfprocessinstanceid(){
        return this.$DO.srfprocessinstanceid;
    }
}

export const GridControlVO = [{ name: 'GridControlVO', controlVO: GridDataControlVO }]